home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java Programmer's Toolkit
/
Java Programmer's Toolkit.iso
/
applets
/
collectn
/
function.jav
< prev
next >
Wrap
Text File
|
1995-10-22
|
838b
|
38 lines
/*
File: Function.java
Originally written by Doug Lea and released into the public domain.
Thanks for the assistance and support of Sun Microsystems Labs, Agorics
Inc, Loral, and everyone contributing, testing, and using this code.
History:
Date Who What
22Oct95 dl@cs.oswego.edu Created.
*/
package collections;
/**
*
* Function is a common interface for classes with an arbitrary
* function of one Object argument that returns another Object,
* without throwing any kind of user exception.
* @author Doug Lea
* @version 0.93
*
* <P> For an introduction to this package see <A HREF="index.html"> Overview </A>.
*
**/
public interface Function {
/**
* Execute some function of the argument.
**/
public Object function(Object obj);
}